<?php
namespace app\index\controller;
use think\Controller;
use think\Request;

class Index extends  Controller
{
    public function index()
    {
        $res = Request::instance();
        $url = $res->root(true);

        return view('index',compact('url'));
    }
}
